package com.zhiyou100.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class PublishTheProject {
	
	private HomePage homePage;
	
    public HomePage getHomePage() {
		return homePage;
	}

	public void setHomePage(HomePage homePage) {
		this.homePage = homePage;
	}

	private Integer id;

    private String name;

    private Integer idNumber;

    @Override
	public String toString() {
		return "PublishTheProject [homePage=" + homePage + ", id=" + id + ", name=" + name + ", idNumber=" + idNumber
				+ ", phone=" + phone + ", customerServiceContact=" + customerServiceContact + ", customerServicePhone="
				+ customerServicePhone + ", province=" + province + ", city=" + city + ", type=" + type + ", cover="
				+ cover + ", theProjectTitle=" + theProjectTitle + ", goal=" + goal + ", site=" + site + ", money="
				+ money + ", days=" + days + ", video=" + video + ", story=" + story + ", moreSupport=" + moreSupport
				+ ", report=" + report + ", aboutMe=" + aboutMe + ", returnType=" + returnType + ", supportAmount="
				+ supportAmount + ", specificRules=" + specificRules + ", returnsTheConten=" + returnsTheConten
				+ ", maxmember=" + maxmember + ", starttime=" + starttime + ", endtime=" + endtime + ", returnsTheTime="
				+ returnsTheTime + ", audit=" + audit + "]";
	}

	public PublishTheProject() {
		super();
	}

	public PublishTheProject(HomePage homePage, Integer id, String name, Integer idNumber, String phone,
			String customerServiceContact, String customerServicePhone, String province, String city, String type,
			String cover, String theProjectTitle, String goal, String site, Double money, Integer days, String video,
			String story, String moreSupport, String report, String aboutMe, Integer returnType, Double supportAmount,
			String specificRules, String returnsTheConten, String maxmember, Date starttime, Date endtime,
			String returnsTheTime, Integer audit) {
		super();
		this.homePage = homePage;
		this.id = id;
		this.name = name;
		this.idNumber = idNumber;
		this.phone = phone;
		this.customerServiceContact = customerServiceContact;
		this.customerServicePhone = customerServicePhone;
		this.province = province;
		this.city = city;
		this.type = type;
		this.cover = cover;
		this.theProjectTitle = theProjectTitle;
		this.goal = goal;
		this.site = site;
		this.money = money;
		this.days = days;
		this.video = video;
		this.story = story;
		this.moreSupport = moreSupport;
		this.report = report;
		this.aboutMe = aboutMe;
		this.returnType = returnType;
		this.supportAmount = supportAmount;
		this.specificRules = specificRules;
		this.returnsTheConten = returnsTheConten;
		this.maxmember = maxmember;
		this.starttime = starttime;
		this.endtime = endtime;
		this.returnsTheTime = returnsTheTime;
		this.audit = audit;
	}

	private String phone;

    private String customerServiceContact;

    private String customerServicePhone;

    private String province;

    private String city;

    private String type;

    private String cover;

    private String theProjectTitle;

    private String goal;

    private String site;

    private Double money;

    private Integer days;

    private String video;

    private String story;

    private String moreSupport;

    private String report;

    private String aboutMe;

    private Integer returnType;

    private Double supportAmount;

    private String specificRules;

    private String returnsTheConten;

    private String maxmember;

    /*
	 * pattern : 能解析的日期模板
	 * 因为页面layui发出的日期格式是yyyy-MM-dd的字符串
	 * 需要使用该注解 将这个类型的字符串解析为日期对象,并注入
	 * User的该属性中
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
    private Date starttime;
	/*
	 * pattern : 能解析的日期模板
	 * 因为页面layui发出的日期格式是yyyy-MM-dd的字符串
	 * 需要使用该注解 将这个类型的字符串解析为日期对象,并注入
	 * User的该属性中
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endtime;

    private String returnsTheTime;

    private Integer audit;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(Integer idNumber) {
        this.idNumber = idNumber;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getCustomerServiceContact() {
        return customerServiceContact;
    }

    public void setCustomerServiceContact(String customerServiceContact) {
        this.customerServiceContact = customerServiceContact == null ? null : customerServiceContact.trim();
    }

    public String getCustomerServicePhone() {
        return customerServicePhone;
    }

    public void setCustomerServicePhone(String customerServicePhone) {
        this.customerServicePhone = customerServicePhone == null ? null : customerServicePhone.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover == null ? null : cover.trim();
    }

    public String getTheProjectTitle() {
        return theProjectTitle;
    }

    public void setTheProjectTitle(String theProjectTitle) {
        this.theProjectTitle = theProjectTitle == null ? null : theProjectTitle.trim();
    }

    public String getGoal() {
        return goal;
    }

    public void setGoal(String goal) {
        this.goal = goal == null ? null : goal.trim();
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site == null ? null : site.trim();
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video == null ? null : video.trim();
    }

    public String getStory() {
        return story;
    }

    public void setStory(String story) {
        this.story = story == null ? null : story.trim();
    }

    public String getMoreSupport() {
        return moreSupport;
    }

    public void setMoreSupport(String moreSupport) {
        this.moreSupport = moreSupport == null ? null : moreSupport.trim();
    }

    public String getReport() {
        return report;
    }

    public void setReport(String report) {
        this.report = report == null ? null : report.trim();
    }

    public String getAboutMe() {
        return aboutMe;
    }

    public void setAboutMe(String aboutMe) {
        this.aboutMe = aboutMe == null ? null : aboutMe.trim();
    }

    public Integer getReturnType() {
        return returnType;
    }

    public void setReturnType(Integer returnType) {
        this.returnType = returnType;
    }

    public Double getSupportAmount() {
        return supportAmount;
    }

    public void setSupportAmount(Double supportAmount) {
        this.supportAmount = supportAmount;
    }

    public String getSpecificRules() {
        return specificRules;
    }

    public void setSpecificRules(String specificRules) {
        this.specificRules = specificRules == null ? null : specificRules.trim();
    }

    public String getReturnsTheConten() {
        return returnsTheConten;
    }

    public void setReturnsTheConten(String returnsTheConten) {
        this.returnsTheConten = returnsTheConten == null ? null : returnsTheConten.trim();
    }

    public String getMaxmember() {
        return maxmember;
    }

    public void setMaxmember(String maxmember) {
        this.maxmember = maxmember == null ? null : maxmember.trim();
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getReturnsTheTime() {
        return returnsTheTime;
    }

    public void setReturnsTheTime(String returnsTheTime) {
        this.returnsTheTime = returnsTheTime == null ? null : returnsTheTime.trim();
    }

    public Integer getAudit() {
        return audit;
    }

    public void setAudit(Integer audit) {
        this.audit = audit;
    }
}